from django.conf.urls import url,include
from django.contrib import admin
from .views import *


urlpatterns = [
    url(r"^list/(?P<good_id>\d+)/(?P<page_num>\d+)/$",GoodsDetail.as_view()),
    # 商品细节视图
    url(r"^hot/(?P<good_id>\d+)/$",HotGoodsList.as_view()),
    # 热销列表排行
    url(r"^detail/(?P<good_id>\d+)/$",GoodDetailShow.as_view()),
    # 商品详情展示
    url(r"^visit/(?P<category_id>\d+)/$",GoodDetailVisit.as_view()),
    # 商品详情访问量
]

